<%@ include file="../common/top.jsp"%>

<div id="Catalog">
    <form action="editAccount" method="post">
        <h3>User Information</h3>
        <c:if test="${requestScope.msg != null}">
            <p><font color="red">${requestScope.msg}</font></p>
        </c:if>
        <table>
            <tr>
                <td>User ID:</td>
                <td>${sessionScope.username}</td>
            </tr>
            <tr>
                <td>New password:</td>
                <td><input type="text" name="password" /></td>
            </tr>
            <tr>
                <td>Repeat password:</td>
                <td><input type="text" name="repeatedPassword" /></td>
            </tr>
        </table>
        <%@ include file="includeAccountFields.jsp"%>
        <input type="submit" name="editAccount" value="Save Account Information" />
    </form>

    <a href="listOrder">My Orders</a>

</div>

<%@ include file="../common/bottom.jsp"%>
